package com.dhcc.bpm.modules.log.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * tps峰值表
 * </p>
 *
 * @author xiafayu
 * @since 2021-05-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OPC_TPS_PEAK")
@ApiModel(value="TpsPeak对象", description="tps峰值表")
public class TpsPeak implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
    @TableField("ID")
    @JsonSerialize(
            using = ToStringSerializer.class,
            nullsUsing = NullSerializer.class
    )
    @TableId(
            value = "id",
            type = IdType.ASSIGN_ID
    )
    private Long id;

    @ApiModelProperty(value = "接口编码")
    @TableField("API_CODE")
    private String apiCode;

    @ApiModelProperty(value = "TPS峰值")
    @TableField("TPS_PEAK")
    private Long tpsPeak;

    @ApiModelProperty(value = "TPS日期")
    @TableField("TPS_DATE")
    private String tpsDate;

    @ApiModelProperty(value = "TPS时间")
    @TableField("TPS_TIME")
    private String tpsTime;

    @ApiModelProperty(value = "创建日期")
    @TableField("CREATE_TIME")
    private Date createTime;


}
